import request from '@/common/utils/request'

export function getCarTypeList(data) {
  return request({
    url: 'test-car-type/list',
    method: 'post',
    data
  })
}

export function addCarType(data) {
  return request({
    url: 'test-car-type/add',
    method: 'post',
    data
  })
}

export function updateCarType(data) {
  return request({
    url: 'test-car-type/update',
    method: 'post',
    data
  })
}

export function deleteCarType(data) {
  return request({
    url: 'test-car-type/delete',
    method: 'post',
    data
  })
}

export function getAllCarTypeList() {
  return request({
    url: 'test-car-type/get-all-list',
    method: 'post'
  })
}